package com.demo.pojo;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户收支记录
 * </p>
 *
 * @author Helen
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "THisTransactionRecord对象", description = "用户收支记录")
public class THisTransactionRecord {

    private static final long serialVersionUID = 1L;

    private Integer operatorId;

    @ApiModelProperty(value = "医院id")
    private Integer hospitalId;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "收支类型：0进，1出")
    private Boolean typeId;

    @ApiModelProperty(value = "交易金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "余额")
    private BigDecimal moneyBalance;

    @ApiModelProperty(value = "冻结中金额")
    private BigDecimal moneyLock;

    @ApiModelProperty(value = "交易时间")
    private Integer addtime;

    @ApiModelProperty(value = "交易IP")
    private String ip;

    @ApiModelProperty(value = "事由")
    private String memo;

    @ApiModelProperty(value = "相关订单id")
    private Integer pkgId;


}
